@isTest
public with sharing class AT_Test_sendIntacctCallOut {

	static testMethod void main_test() {
 
        ID RT_Account_B2B = [select ID from RecordType r where SobjectType='Account' and DeveloperName='B2B' limit 1].ID;
        // Establish sample class

        AT_sendIntacctCallOut.isTest = true;
 		Account acc = new Account(RecordTypeId=RT_Account_B2B, Name='test Account B2B', BillingCountry='USA');
 		insert acc;
 		
 		AT_sendIntacctCallOut.main(acc.ID,UserInfo.getSessionId());
 
     }
 


}